<%@page import="com.kensure.shike.qiniu.service.QiNiuService"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	import="com.baidu.ueditor.ActionEnter"
    pageEncoding="UTF-8"%>
<%@ page trimDirectiveWhitespaces="true" %>
<%

    request.setCharacterEncoding( "utf-8" );
	String action = request.getParameter("action");
	response.setHeader("Content-Type" , "text/html");
	
	String rootPath = application.getRealPath( "/" );
	String dd = new ActionEnter( request, rootPath ).exec();
	if("uploadimage".equalsIgnoreCase(action)){
		dd = QiNiuService.zhuanfa(dd);
	}
	out.write(dd);
	
%>